import Table from 'ant-design-vue/es/table'


export default {
	name: "SpTable",

	data() {
		return {}
	},
	props: {
		columns: {
			type: Array,
			required: false,
			default: []
		},
		dataSource:{
			type: Array,
			required: false,
			default: []
		},
	},
	computed: {},

	mounted() {},

	watch: {},

	methods: {},

	render() {
		const props = {
			dataSource: this.dataSource,
			// theme: theme,
			columns: this.columns,
		}
		
		
		// const coloum = this.columns;
		// window.console.log("----",coloum)
		return ( 
			<Table {...{props}} >

			</Table>
		)
	}


}
